﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="onlinetime.ascx.cs" Inherits="AnyOffice.general.mytable.onlinetime" %>
<%@ OutputCache Duration="300" VaryByParam="None"%>
<div id="module_8" style="position: relative;padding-bottom:10px;">
<table class="TableBlock" width="100%" cellspacing="0" cellpadding="2">
	<tr class="TableHeader">
		<td id="module_8_head" class="TableHeader" width="70%">
			<img src="/images/node_user.gif" align="absMiddle"> 在线排行榜
		</td>
		<td id="module_8_more" align="right">
			<div id="module_8_op" style="float:right;display:none;"><a id="module_8_url" href="#" onclick="_del('8');"><img border="0" src="/images/x.gif" alt="不显示该模块"></a></div>
			<div style="float:right"></div>
		</td>
	</tr>
	<tr class="TableData" style="BACKGROUND:#ffffff">
		<td colspan="2" height="40">			
			<asp:Repeater id="rptUsers" runat="server" EnableViewState="False">
				<ItemTemplate>
				<u title="<%#DataBinder.Eval(Container.DataItem,"DeptName")%> 在线时长：<%#Math.Floor(Convert.ToDouble(DataBinder.Eval(Container.DataItem,"OnlineTime"))/60)%>小时<%#Math.Floor(Convert.ToDouble(DataBinder.Eval(Container.DataItem,"OnlineTime"))) % 60%>分" style="cursor:hand"><%#DataBinder.Eval(Container.DataItem,"UserName")%></u>
				</ItemTemplate>
			</asp:Repeater>
			<asp:Literal id="litUsers" runat="server"></asp:Literal>			
		</td>
	</tr>
</table>
</div>

